import React, { useEffect, useState } from "react";
import instance from "../../api/request";
function Index() {
  const [money, setMoney] = useState(2300);

  useEffect(() => {
    if (money) {
      instance
        .post("/user/verify/v1/drawCash", null, {
          params: {
            money: money,
          },
        })
        .then((res) => {
          console.log(res, "====提现");
        });
    }
  }, [money]);

  return <div>提现</div>;
}

export default Index;
